package com.laber.service;

import com.laber.domain.Article;
import com.laber.domain.PageResult;

public interface ArticleService {

    //新增文章
    void add(Article article);

    //条件分页列表查询
    PageResult<Article> list(Integer pageNum, Integer pageSize, Integer categoryId, String state);

    void update(Article article);

    void delete(Integer id);
}
